package com.jbit.dm212.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DmItemSearchVO implements Serializable {
    private Integer id;
    private Integer itemTypeId1;
    private Integer itemTypeId2;
    private Integer areaId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private String sort;
    private String keyword;
    private Integer currentPage;
}
